{extend name="base" /}
<!-- page specific plugin styles -->
{block name="plugin-styles"}
	<link rel="stylesheet" href="/static/ace/assets/css/colorbox.min.css" />
{/block}
<!-- inline styles related to this page -->
{block name="inline-styles"}{/block}

{/block}
{block name="breadcrumbs"}
<ul class="breadcrumb">
    <li>
        <i class="ace-icon fa fa-home home-icon"></i>
        <a href="{:url('Index/index')}">首页</a>
    </li>
    <li class="active">订单管理</li>
</ul>
<!-- /.breadcrumb -->
{/block}
<!-- PAGE CONTENT BEGINS -->
{block name="content"}
<div class="page-header">
    <h1>
        上传订单
    </h1>
</div>
<div class="space-6"></div>
<div class="row">
     <form class="form-horizontal" action="/admin/order/upload" enctype="multipart/form-data" method="post">
        <div class="col-xs-12">
		    <input id="id-input-file-3" type="file" name='file' class='ace'/>
        </div>
        <div class="clearfix form-actions">
		    <div class="col-md-offset-3 col-md-9">
		        <button class="btn btn-info" type="submit">
		            <i class="ace-icon fa fa-check bigger-110">
		            </i>
		            上传
		        </button>
		    </div>
        </div>
     </form> 
</div>
<div class="row">
    {eq name='is_uplaod' value='1'}
        <div><span>总数:{$count}</span></div>
        <div>
            <div>成功列表({$sucess_list|count})</div>
            {foreach $sucess_list as $vo}
                <span class='label label-success'>{$vo}</span>
            {/foreach}
        </div>
        <div>
            <div>失败列表({$fail_list|count})</div>
            {foreach $fail_list as $vo}
                <span class='label label-danger'>{$vo}</span>
            {/foreach}
        </div>
        <div>
            <div>未处理列表({$unprocess_list|count})</div>
            {foreach $unprocess_list as $vo}
                <span class='label label-warning'>{$vo}</span>
            {/foreach}
        </div>
        <div>
            <div>已经设置快递单号列表({$process_list|count})</div>
            {foreach $process_list as $vo}
                <span class='label label-inverse'>{$vo}</span>
            {/foreach}
        </div>
    {/eq}
</div>

{/block}
<!-- PAGE CONTENT ENDS -->
<!-- page specific plugin scripts -->
{block name="plugin-scripts"}
<script src="/static/ace/assets/js/jquery.dataTables.min.js"></script>
<script src="/static/ace/assets/js/jquery.dataTables.bootstrap.min.js"></script>
<script src="/static/ace/assets/js/jquery.colorbox.min.js"></script>
{/block}
<!-- inline scripts related to this page -->
{block name="related-scripts"}
<script type="text/javascript">


</script>
{/block}